package com.fintech.third.model;

import java.io.Serializable;
import java.util.List;

public class PaymentResponse implements Serializable{

	private static final long serialVersionUID = 1L;

	/**
	 * 错误码   0成功  -1失败  -2超时  -3内部异常  1交易处理中  -5 交易重复   -6 验签不一致
	 */
	private String code;  
	
	/**
	 * 业务错误码
	 */
	private String businessErrorCode;
	
	/**
	 * 交易渠道
	 */
	private String channel;
	/**
	 * 返回内容
	 */
	private String content;
	/**
	 * 错误信息
	 */
	private String msg; 
	
	/**
	 * 订单号
	 */
	private String orderNumber;
	
	/**
	 * 批量调用时的批量订单号
	 */
	private List<String> orderNumberList;

	/**
	 * 快付通代扣协议错误码    0待复核，1生效,2失效    -1 异常
	 */
	private String treatyCode;
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public List<String> getOrderNumberList() {
		return orderNumberList;
	}

	public void setOrderNumberList(List<String> orderNumberList) {
		this.orderNumberList = orderNumberList;
	}

	public String getBusinessErrorCode() {
		return businessErrorCode;
	}

	public void setBusinessErrorCode(String businessErrorCode) {
		this.businessErrorCode = businessErrorCode;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getTreatyCode() {
		return treatyCode;
	}

	public void setTreatyCode(String treatyCode) {
		this.treatyCode = treatyCode;
	}

	@Override
	public String toString() {
		return "PaymentResponse [code=" + code + ", businessErrorCode=" + businessErrorCode + ", channel=" + channel
				+ ", content=" + content + ", msg=" + msg + ", orderNumber=" + orderNumber + ", orderNumberList="
				+ orderNumberList + ", treatyCode=" + treatyCode + "]";
	}
	
}
